﻿using System.Web;
using System.Xml;

namespace sBlog.Net.Memcache
{
    public class MemcachedConfig
    {
        public static XmlNode GetConfigSection(string configFile, string _name)
        {
            XmlDocument doc = new XmlDocument();
            doc.Load(HttpContext.Current.Server.MapPath(configFile));
            return doc.SelectSingleNode(_name);
        }
    }
}
